﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sharp.Infrastructure.Search
{
    /// <summary>
    /// 比较类型
    /// </summary>
    public enum ComparisonType
    {
        /// <summary>
        /// 等于 =
        /// </summary>
        Equal = 0,
        /// <summary>
        /// 不等于号 
        /// </summary>
        NotEqual = 1,

        /// <summary>
        /// 区间
        /// </summary>
        Section = 2,


        /// <summary>
        /// 模糊查询 Like '%***%'
        /// </summary>
        Like = 3,
        /// <summary>
        /// 模糊查询  Not Like
        /// </summary>
        NotLike = 4,

        /// <summary>
        /// 类似Sql的 IN
        /// </summary>
        In = 5,
        /// <summary>
        /// 类似Sql的 NOT IN
        /// </summary>
        NotIn,
        /// <summary>
        /// 某某字符串开头的查询查询 Like '***%'
        /// </summary>
        StartsWith = 6,
        /// <summary>
        ///  /// <summary>
        /// 某某字符串结尾的查询查询 Like '%***'
        /// </summary>
        /// </summary>
        EndsWith = 7
    }
}
